<?php
/**
 * System configuration file 
 * It contains default application configuration such as :
 * - default controller
 * - default error controller
 * - log path
 * - ...
 */

$config = array();

/**
 * Defines error controller which is called to display error
 */
$config['error_controller'] = array();
$config['error_controller']['module'] = '';
$config['error_controller']['controller'] = 'Error';
$config['error_controller']['action'] = 'index';

/**
 * Defines default controller
 */
$config['default_controller'] = array();
$config['default_controller']['module'] = 'default';
$config['default_controller']['controller'] = 'Index';
$config['default_controller']['action'] = 'index';

/**
 * Defines log path 
 */
$config['log_path'] = realpath(ROOT_PATH . '/logs');

return $config;
